package com.dms.system.domain;

import com.dms.common.annotation.Excel;
import com.dms.common.core.domain.BaseEntity;
import com.dms.common.core.domain.entity.SysUser;

import java.util.Date;
import java.util.List;

/**
 * 昨日漏检对象 sys_omision
 * 
 * @author xlong_zhu
 * @date 2021-04-06
 */
public class SysOmission extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @Excel(name = "漏检任务编号")
    /** 昨日漏检任务编号 */
    private Long omissionId;

    @Excel(name = "任务编号")
    /** 巡检任务编号 */
    private Long missionId;

    /** 巡检任务名 */
    private String missionName;

    @Excel(name="任务开始时间")
    /** 任务开始时间 */
    private Date missionStartTime;

    @Excel(name = "任务结束时间")
    /** 任务结束时间 */
    private Date missionEndTime;

    /** 巡检员工 */
    private List<SysUser> userList;

    /** 巡检设备 */
    private List<SysPlant> plantList;

    public Long getOmissionId() {
        return omissionId;
    }

    public void setOmissionId(Long omissionId) {
        this.omissionId = omissionId;
    }

    public Long getMissionId() {
        return missionId;
    }

    public void setMissionId(Long missionId) {
        this.missionId = missionId;
    }

    public Date getMissionStartTime() {
        return missionStartTime;
    }

    public void setMissionStartTime(Date missionStartTime) {
        this.missionStartTime = missionStartTime;
    }

    public Date getMissionEndTime() {
        return missionEndTime;
    }

    public void setMissionEndTime(Date missionEndTime) {
        this.missionEndTime = missionEndTime;
    }

    public String getMissionName() {
        return missionName;
    }

    public void setMissionName(String missionName) {
        this.missionName = missionName;
    }

    public List<SysUser> getUserList() {
        return userList;
    }

    public void setUserList(List<SysUser> userList) {
        this.userList = userList;
    }

    public List<SysPlant> getPlantList() {
        return plantList;
    }

    public void setPlantList(List<SysPlant> plantList) {
        this.plantList = plantList;
    }

    @Override
    public String toString() {
        return "SysOmission{" +
                "omissionId=" + omissionId +
                ", missionId=" + missionId +
                ", missionName='" + missionName + '\'' +
                ", missionStartTime=" + missionStartTime +
                ", missionEndTime=" + missionEndTime +
                ", userList=" + userList +
                ", plantList=" + plantList +
                '}';
    }
}
